package com.tsxy.mapper;

import com.tsxy.controller.dto.BookFileRela;
import com.tsxy.entity.BookPictureRelation;
import com.tsxy.entity.UsedBookPictureRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 飞
 * @since 2022-03-12
 */
@Mapper
public interface UsedBookPictureRelationMapper extends BaseMapper<UsedBookPictureRelation> {

    int insertListBath(@Param("relations") List<UsedBookPictureRelation> relations);

    List<BookFileRela> selectAllRelation();
}
